package com.beordie.service;

import com.beordie.model.Menu;
import com.beordie.model.Role;

import java.util.List;

/**
 * @Classname IMenuService
 * @Description TODO
 * @Date 2021/6/13 22:17
 * @Created 30500
 */
public interface IMenuService {
    /**
     * @description 查看所有数据条数
     * @author 30500
     * @date 2021/6/19 23:12
     * @type []
     * @return int
     */
    public int getAllTotal();

    /**
     * @description 分页查询
     * @author 30500
     * @date 2021/6/19 23:12
     * @type [int, int]
     * @return java.util.List<com.beordie.model.Role>
     */
    public List<Menu> getByLimit(int index, int pageSize);

    /**
     * @description 获取二级菜单返回结果集
     * @author 30500
     * @date 2021/6/20 12:50
     * @type []
     * @return java.util.List<com.beordie.model.Menu>
     */
    public List<Menu> getSecond();
}
